package io.modifier.basic.compose.hooks

import androidx.compose.runtime.Composable
import io.modifier.basic.compose.hooks.comm.SuspendAsyncFn

/** Execute `fn` function when component is mounted **/
@Composable
fun useMount(fn: SuspendAsyncFn) = useEffect(Unit) { fn() }
